package com.star.carserviceapi.domain.request;

import java.util.HashMap;

import com.star.carserviceapi.ClientApiConfig;
import com.star.carserviceapi.domain.request.base.BaseRequest;

public class CreateAccountRequest extends BaseRequest {

	private String mMobile;

	private String mPassword;

	private String mPasswordConfirm;

	public String getMobile() {
		return mMobile;
	}

	public void setMobile(String mobile) {
		mMobile = mobile;
	}

	public String getPassword() {
		return mPassword;
	}

	public void setPassword(String password) {
		mPassword = password;
	}

	public String getPasswordConfirm() {
		return mPasswordConfirm;
	}

	public void setPasswordConfirm(String passwordConfirm) {
		mPasswordConfirm = passwordConfirm;
	}

	public CreateAccountRequest(String mobile, String password,
			String passwordConfirm) {
		mMobile = mobile;
		mPassword = password;
		mPasswordConfirm = passwordConfirm;

		putData("mobile", mMobile).putData("password", mPassword).putData(
				"password_confirm", mPasswordConfirm);

	}

	@Override
	public String getActionUrl() {
		return ClientApiConfig.CreateAccountRequest;
	}

	@Override
	public HashMap<String, String> getPostData() {

		return mPostData;
	}

}
